<?php if (strlen($notice) > 0) : ?>
<div id="notice_msg" style="display: none;">
  <span id="notice_msg_close"><a href="javascript:void(0);" style="text-decoration: none;">X</a></span>
  <?php echo $notice; ?>
</div>
<?php endif; ?>

<div id="top_links">
  <div id="top_links_l">
    <a href="http://thefingerfor.blogspot.com/" target="_blank">Blog</a> |
    <a href="https://twitter.com/thefingerfor" target="_blank">Twitter</a> |
    <a href="feedback.php">Feedback</a>
  </div>
  <div id="top_links_r">
    <a href="index.php">Home</a> |
    <a href="new.php">Newest Fingers</a> |
    <a href="top.php">Top Most Fingered</a> |
    <!-- <a href="funny.php">Funny Fingers</a> | -->
    <a href="about.php">About</a> |
    <?php if (isset($_SESSION['ses_email'])) {?><a href="logout.php">Logout</a><?php } else { ?><a href="login.php">Login</a><?php } ?>
  </div>
  <div class="clearer"></div>
</div>
<div id="header">
	<a id="logo" href="index.php" title="Go To Start Page">
		<img src="img/logo.gif" alt="The Finger For Image" />
	</a>
</div>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-10509667-10']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

jQuery(document).ready(function() {
  if ($("#notice_msg").html()) {
    $("#notice_msg").fadeIn('slow');
  }
  $("#notice_msg_close").click(function() {
    $('#notice_msg').fadeOut('slow');
  });
  setTimeout("$('#notice_msg').fadeOut('slow');",15000);
});
</script>